
package accountbank;
public class Account { 
	private String accountNo; // ���¹�ȣ
	private long balance; // �ܰ�
	public Account(String accountNo, long balance) {
		 this.accountNo = accountNo;
		 this.balance =balance;
	}
	public String getAccountNo() {
		return accountNo;
	}
public void setAccountNo(String accountNo) {
	this.accountNo =accountNo;
}

public long getBalance(){
	return balance;
}

public void setBalance(long balance){
	this.balance=balance;
}

public void deposit(long money) {
	balance = balance + money;
}

public void  withdraw(long money) {
	balance = balance - money;
	
}

}
